package com.ant.backstage.facade.request;

import lombok.*;

import javax.validation.constraints.NotNull;
import java.io.Serializable;


@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
public class ExportDataRequest implements Serializable {
    // 注意 @Builder 和 @Accessors(chain = true) 不能同时使用 否则编译异常
    @NotNull
    private String fileBusinessType;
    @NotNull
    private Integer id;

    private String paramsJson;

    @Builder.Default//builder模式创建对象默认值生效
    private Integer exportNumber = 100;

}
